const async = require('async');
const moment = require('moment');
const superagent = require('superagent');
const CommonUtil = require('../../../../../common/util/CommonUtil');
const CONFIG = require('../../../../../common/config');
const CODE = require('../../../../../common/code');
const activityService = require('../../../../service/activityService');


const api4backRouterUtil = (function () {

    function api4backRouterUtil() {
    }


    /**
     * 初始化点赞活动配置等信息
     * @author 毛凯
     * @date  2018-07-20
     * @param actId  活动id
     * @param callback
     */
    api4backRouterUtil.initActivityInfo = function (actId,callback) {
        activityService.initActivityInfo(actId,function (err,data) {
            if(err){
                return callback(err,null);
            }
            return callback(null,{});
        });
    };



    return api4backRouterUtil;
})();

module.exports = api4backRouterUtil;